package sjd.ahsj.springbootmybatisplusoracle.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import sjd.ahsj.springbootmybatisplusoracle.entity.SuperEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author zhanghaogao
 * @since 2018-11-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("i_user")
@SuppressWarnings("serial")
public class IUser extends SuperEntity<IUser> {

    private String name;
    private String code;
    @JsonIgnore
    private String password;
    @TableField("factory_id")
    private String factoryId;
    @TableField("group_id")
    private Integer groupId;


}
